package com.supreme.studyserver.entity;

import com.supreme.studyserver.utils.GenericSuperclassUtils;
import lombok.Data;

@Data
public class BasicEntity<E> {

    private E name;

    public Class<?> getEntityClass() {
        return GenericSuperclassUtils.getActualTypeArgument(this.getClass());
    }
}
